package com.grass.cropTradingCenter.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.grass.cropTradingCenter.pojo.entity.MiniShop;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author zipan
 * @description 针对表【mini_shop】的数据库操作Mapper
 * @createDate 2024-01-23 19:41:54
 * @Entity com.grass.cropTradingCenter.pojo.entity.MiniShop
 */
@Mapper
public interface MiniShopMapper extends BaseMapper<MiniShop> {

    @Select("select * from mini_shop limit 8")
    List<MiniShop> getShopListFor8();
}




